package model;

public class Monster extends  Figure{
    protected String desc;
    public Monster(int con, int dex, int str, int wis, int hp, int max_hp, int nl, int max_nl, int jl, int max_jl, String username, String location,int type,String description) {
        super(con, dex, str, wis, hp, max_hp, nl, max_nl, jl, max_jl, username, location,type);
        this.desc = description;
    }
    public String getDescription() {
        String tmp="";
        tmp+="名字:"+getName()+"\n";
        tmp+="con:"+getCon()+"\n";
        tmp+="dex:"+getDex()+"\n";
        tmp+="str:"+getStr()+"\n";
        tmp+="wis:"+getWis()+"\n";
        tmp+="hp:"+getHp()+"/"+getMax_hp()+"\n";
        tmp+="nl:"+getNl()+"/"+getMax_nl()+"\n";
        tmp+="jl:"+getJl()+"/"+getMax_jl()+"\n";
        tmp+="敌人简介:"+desc+"\n";
        return tmp;
    }
}
